package com.echo.study.spring;

import org.springframework.stereotype.Component;

@Component
public class Student extends People {
 
	public String mobile;
	 
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	@Override
	public String toString() {
		return "Student [mobile=" + mobile + ", name=" + name + ", age=" + age + ", sex=" + sex + "]";
	}
	 
	
}
